﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoxCulvert.entity
{
    public class CulvertExcelEntity
    {
        private string _centerNum;
        private string _structuralType;
        private string _angle;
        private string _holeSize;
        private string _fillHeight;
        private string _culvertLength;
        private string _entrance;
        private string _exit;
        private string _catchmentArea;
        private string _designFlow;
        private string _generalCurrent;
        private string _entranceFillHeight;
        private string _layLineElevation;
        private string _exitFillHeight;
        private string _slop;
        private string _remark;

        /// <summary>
        /// 中心桩号
        /// </summary>
        public string CenterNum { get => _centerNum; set => _centerNum = value; }

        /// <summary>
        /// 结构类型
        /// </summary>
        public string StructuralType { get => _structuralType; set => _structuralType = value; }

        /// <summary>
        /// 交角(°)
        /// </summary>
        public string Angle { get => _angle; set => _angle = value; }

        /// <summary>
        /// 孔数及孔径
        /// </summary>
        public string HoleSize { get => _holeSize; set => _holeSize = value; }

        /// <summary>
        /// 填土高度
        /// </summary>
        public string FillHeight { get => _fillHeight; set => _fillHeight = value; }

        /// <summary>
        /// 涵洞总长度
        /// </summary>
        public string CulvertLength { get => _culvertLength; set => _culvertLength = value; }

        /// <summary>
        /// 洞口型式 - 进口
        /// </summary>
        public string Entrance { get => _entrance; set => _entrance = value; }

        /// <summary>
        /// 洞口型式 - 出口
        /// </summary>
        public string Exit { get => _exit; set => _exit = value; }

        /// <summary>
        /// 汇水面积
        /// ""
        /// </summary>
        public string CatchmentArea { get => _catchmentArea; set => _catchmentArea = value; }

        /// <summary>
        /// 设计流量
        /// ""
        /// </summary>
        public string DesignFlow { get => _designFlow; set => _designFlow = value; }

        /// <summary>
        /// 水流方向
        /// 涵dib坡度
        /// 坡度为负值:从左向右 
        /// 坡度为正值:从右向左
        /// </summary>
        public string GeneralCurrent { get => _generalCurrent; set => _generalCurrent = value; }

        /// <summary>
        /// 进口涵底高程
        /// "左到右(左侧进口右侧出口) 坡度为负值 
        /// 进口高程(左侧): 涵低高程 - 坡度 * 左涵长
        /// 出口高程(右侧) : 涵底高程 + 坡度* 右涵长"	
        /// </summary>
        public string EntranceFillHeight { get => _entranceFillHeight; set => _entranceFillHeight = value; }

        /// <summary>
        /// 涵底高程 (界面值)
        /// </summary>
        public string LayLineElevation { get => _layLineElevation; set => _layLineElevation = value; }

        /// <summary>
        /// 出口涵底高程
        /// "右到左(右侧进口左侧出口) 坡度为正值 
        /// 进口高程(右侧): 涵低高程 + 坡度 * 右涵长
        /// 出口高程(左侧) : 涵底高程 - 坡度* 左涵长"		
        /// </summary>
        public string ExitFillHeight { get => _exitFillHeight; set => _exitFillHeight = value; }

        /// <summary>
        /// 涵底坡度
        /// </summary>
        public string Slop { get => _slop; set => _slop = value; }

        /// <summary>
        /// 备注
        /// ""
        /// </summary>
        public string Remark { get => _remark; set => _remark = value; }

        public CulvertExcelEntity()
        {


        }

        public CulvertExcelEntity(string centerNum, string structuralType, string angle, string holeSize, string fillHeight, string culvertLength, string entrance, string exit, string catchmentArea, string designFlow, string generalCurrent, string entranceFillHeight, string layLineElevation, string exitFillHeight, string slop, string remark)
        {
            CenterNum = centerNum;
            StructuralType = structuralType;
            Angle = angle;
            HoleSize = holeSize;
            FillHeight = fillHeight;
            CulvertLength = culvertLength;
            Entrance = entrance;
            Exit = exit;
            CatchmentArea = catchmentArea;
            DesignFlow = designFlow;
            GeneralCurrent = generalCurrent;
            EntranceFillHeight = entranceFillHeight;
            LayLineElevation = layLineElevation;
            ExitFillHeight = exitFillHeight;
            Slop = slop;
            Remark = remark;
        }

    }
}
